class SiteConfig < ActiveRecord::Base
  validates :key, uniqueness: true

  scope :wechat_month_reward, -> { where(key: 'wechat.month_reward').first }

end
